package pl.nith.battleships.models.ship;

import java.awt.Dimension;

import pl.nith.battleships.core.Model;
import pl.nith.battleships.helpers.ShipHelper.Orientation;

public class Ship extends Model
{
	private Orientation orientation;
	private Dimension size;
	
	public Ship()
	{
		setOrientation(Orientation.VERTICAL);
	}
	
	public final void setSize(Dimension size)
	{
		this.size = size;
	}
	
	public final Dimension getSize()
	{
		return size;
	}
	
	public final void setOrientation(Orientation orientation)
	{
		this.orientation = orientation;
	}
	
	public final Orientation getOrientation()
	{
		return orientation;
	}
}
